package com.demo02;

public class Demo {
    private Dog dog;
    private Dog dog1;

    public Dog getDog() {
        return dog;
    }

    public void setDog(Dog dog) {
        this.dog = dog;
    }


    @Override
    public String toString() {
        return "Demo{" +
                "dog=" + dog +
                '}';
    }
}
